Ext.define('EUF.model.StudentInfoMdl', {
    extend: 'Ext.data.Model',
    fields: [
	
        { name: 'studentName', type: 'string' },
   //     { name: 'studentLName', type: 'string' },
		{name: 'batch', type: 'string'},
		{name: 'fathersName', type: 'string'},
	//	{name: 'fathersLName', type: 'string'},
		{name: 'className', type: 'string'},
		{name: 'admNo', type: 'string'},
		{name: 'rollNo', type: 'string'},
		{name: 'gen', type: 'boolean'},
		{name: 'sc', type: 'boolean'},
	
			
    ]
	
	,
	proxy: {
   type: 'ajax',
   extraParams: {collection_name : 'Student',whereFields : ''},
   
   
    api:
   {
    create : '/save',
    read:'/read'
   },
   writer: {
    type: 'json',
   // root: 'data'
   },
   reader: {
	    type: 'json',
	   // root: 'data'
	   }
   },
	/*associations : [
	{
      model : 'AM.model.useraccessMdl',
      name : 'Useraccessmodel',
      type : 'hasMany'
     },
	 {
      model : 'AM.model.userdetailMdl',
      name : 'Userdetailmodel',
      type : 'hasMany'
     },
	 
	 ],
	 */
});